package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Customer;

import java.util.Map;

/**
 * ClassName: CustomerService
 * Package: com.atguigu.jxc.service
 *
 * @Description:
 * @Author: xvyy
 * @Create: 2025/2/21 - 15:38
 * @Version: v1.0
 */
public interface CustomerService {

    /**
     * 分页查询客户管理
     * @param page
     * @param rows
     * @param customerName
     * @return
     */
    Map<String, Object> list(Integer page, Integer rows, String customerName);

    /**
     * 保存或修改客户信息
     * @param customer
     * @return
     */
    ServiceVO save(Customer customer);

    /**
     * 删除客户信息
     * @param customerIds
     * @return
     */
    ServiceVO delete(String customerIds);
}
